package cn.tedu.spring.example;

import org.springframework.stereotype.Component;

/*
* Component注解：
* 1.将该类标识为Spring Framework的组件
*/

@Component
public class User {
    public void run(){
        System.out.println("Hello Spring Framework~~");
    }

}
